﻿<Window x:Class="SimStatus.Dashboard"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Dashboard" Height="550" Width="450"  WindowStyle="None" Background="#FF2D2D30">
    <Grid>
        <Grid x:Name="root"></Grid>
        <Grid Height="100" VerticalAlignment="Top">           
            <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,10,10,0">
                <Button Content="-" Width="20" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
                <Button Content="×" Width="20" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
            </StackPanel>
        </Grid>
        
        <Grid x:Name="ContentPane" Margin="0,100,0,0">
            
        </Grid>
        <Grid  VerticalAlignment="Top" HorizontalAlignment="Right" Width="150" Height="48" Margin="0,60,0,0">
            <ScrollViewer Padding="0" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
                <Grid>
                    <Rectangle Fill="#FF252526" RadiusX="25" RadiusY="25" Margin="0,0,-30,0"></Rectangle>
                    <StackPanel Orientation="Horizontal" >
                        <Grid Margin="15,0,0,0">
                            <Grid Name="backgroundGrid" Width="48" Height="48" Visibility="Collapsed" />
                            <Path Data="F1M874.094,289.369L854.3,254.63C854.028,254.151 853.515,253.856 852.958,253.856 852.403,253.856 851.89,254.151 851.617,254.63L831.824,289.369C831.555,289.84 831.559,290.416 831.835,290.883 832.111,291.348 832.618,291.634 833.165,291.634L872.752,291.634C873.299,291.634 873.805,291.348 874.081,290.883 874.357,290.416 874.361,289.84 874.094,289.369 M855.653,287.189L850.264,287.189 850.264,282.745 855.653,282.745 855.653,287.189z M855.653,279.41L850.264,279.41 850.264,266.077 855.653,266.077 855.653,279.41z" Stretch="Uniform" Fill="#FFFFF9F9" Width="26" Height="26" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <TransformGroup.Children>
                                            <RotateTransform Angle="0" />
                                            <ScaleTransform ScaleX="1" ScaleY="1" />
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                        </Grid>
                        <Grid Width="20"></Grid>
                        <TextBlock Text="报告问题" Foreground="#FFb3b3b3" FontSize="18" VerticalAlignment="Center" ></TextBlock>
                    </StackPanel>
                    <Button x:Name="report" Background="Transparent" BorderBrush="Transparent" Foreground="Transparent" BorderThickness="0" Margin="-5,-5,-5,-5" Click="report_Click"></Button>
                </Grid>
            </ScrollViewer>
        </Grid>
    </Grid>
</Window>
